package cn.picclife.mwx.manager.sys.service;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import cn.picclife.mwx.manager.sys.model.bo.CommonBo;
import cn.picclife.mwx.manager.sys.model.bo.PageCount;
import cn.picclife.mwx.manager.sys.model.bo.RolesBo;
import cn.picclife.mwx.manager.sys.model.po.Enum;


public interface RolesMgMtService {

	PageCount queryRolesPage(PageCount pageCount);

	int insertRoles(RolesBo rolesBo);

	RolesBo queryModifyRoles(String roleNo);

	int updateRoles(RolesBo rolesBo);

	List<Map<String, Object>> queryRolesMenu(RolesBo rolesBo);

	PageCount queryRolesUser(PageCount pageCount);

	int saveRolesUser(CommonBo commonBo, String user);

	int saveRolesMenu(CommonBo commonBo, String user);

	RolesBo queryCountRoles(String roleNo);

	List<Enum> queryRoleType();

	List<Enum> queryAgentCateType();

	int deleteUser(HttpServletRequest req, HttpServletResponse res, CommonBo commonBo);










}
